ASCII Table


The standard ASCII character set consists of 128 decimal numbers ranging from zero through 127 assigned to letters, numbers, punctuation marks, and the most common special characters. The Extended ASCII Character Set also consists of 128 decimal numbers and ranges from 128 through 255 representing additional special, mathematical, graphic, and foreign characters.

The charts in this section show the default character set for a console application.

To use some of the extended (127-255) or non-printable (0-32) ASCII characters codes inside MMB use CHR(dec) function.

The following table lists 0 - 127.

dec

hex

char

description

dec

hex

char

dec

hex

char

dec

hex

char

0 0

NUL

Null 32 20

space

64 40

@

96

60

`

1 1

SOH

Start of Heading

33 21

!

65 41

A

97

61

a

2 2

STX

Start of Text

34 22

"

66 42

B

98

62

b

3 3

ETX

End of Text

35 23

#

67 43

C

99

63

c

4 4

EOT

End of Transmis. 36 24

$

68 44

D

100

64

d

5 5

ENQ

Enquiry 37 25

%

69 45

E

101

65

e

6 6

ACK

Acknowledge 38 26

&

70 46

F

102

66

f

7 7

BEL

Audible Bell 39 27

'

71 47

G

103

67

g

8 8

BS**

Backspace 40 28

(

72 48

H

104

68

h

9 9

TAB**

Horizontal Tab 41 29

)

73 49

I

105

69

i

10 A

LF**

Line Feed 42 2A

*

74 4A

J

106

6A

j

11 B

VT

Vertical Tab 43 2B

+

75 4B

K

107

6B

k

12 C

FF

Form Feed 44 2C

,

76 4C

L

108

6C

l

13 D

CR**

Carriage Return 45 2D

-

77 4D

M

109

6D

m

14 E

SO

Shift Out 46 2E

.

78 4E

N

110

6E

n

15

F

SI

Shift In 47 2F

/

79 4F

O

111

6F

o

16 10

DLE

Data Link Escape 48 30

0

80 50

P

112

70

p

17 11

DC1

Device Control 1 49 31

1

81 51

Q

113

71

q

18 12

DC2

Device Control 2 50 32

2

82 52

R

114

72

r

19 13

DC3

Device Control 3 51 33

3

83 53

S

115

73

s

20 14

DC4

Device Control 4 52 34

4

84 54

T

116

74

t

21 15

NAK

Negative Acknowl. 53 35

5

85 55

U

117

75

u

22 16

SYN

Synchronous Idle 54 36

6

86 56

V

118

76

v

23 17

ETB

End of Trans. Block 55 37

7

87 57

W

119

77

w

24 18

CAN

Cancel 56 38

8

88 58

X

120

78

x

25 19

EM

End of Medium 57 39

9

89 59

Y

121

79

y

26 1A

SUB

Substitution 58 3A

:

90 5A

Z

122

7A

z

27 1B

ESC

Escape 59 3B

;

91 5B

[

123

7B

{

28 1C

FS

File Separator 60 3C

<

92 5C

\

124

7C

|

29 1D

GS

Group Separator 61 3D

=

93 5D

]

125

7D

}

30 1E

RS

Record Separator 62 3E

>

94 5E

^

126

7E

~

31 1F

US

Unit Separator 63 3F

?

95 5F

_

127

7F



** Values 0-32 and 127 are non-printable characters. They have no graphical representation, but depending on the application, may affect the visual display of text.

The characters that appear in Windows above 127 depend on the selected typeface (i.e. the character code 128=Ç or 169=⌐ in Arial font.

The following table lists 128 - 255.

dec

hex

char
cons.
char
win.
dec

hex

char
cons.
char
win.
dec

hex

char
cons.
char
win.
dec

hex

char
cons.
char
win.
128 80 Ç 160 A0
space 192 C0 224 E0 α
129 81   161 A1 í 193 C1 225 E1 ß
130 82 é 162 A2 ó 194 C2 226 E2 Γ
131 83 â 163 A3 ú 195 C3 227 E3 π
132 84 éé 164 A4 ñ 196 C4 228 E4 Σ
133 85 à 165 A5 Ñ 197 C5 229 E5 σ
134 86 å 166 A6 ª 198 C6 230 E6 µ
135 87 ç 167 A7 º 199 C7 231 E7 τ
136 88 ê 168 A8 ¿ 200 C8 231 E8 τ
137 89 ë 169 A9 201 C9 232 E9 Φ
138 8A è 170 AA ¬ 202 CA 233 EA Θ
139 8B ï 171 AB ïï 203 CB 234 EB Ω
140 8C î 172 AC ¼ 204 CC 235 EC δ
141 8D   173 AD   205 CD 236 ED
142 8E Ä 174 AE « 206 CE 237 EE φ
143 8F   175 AF » 207 CF 238 EF ε
144 90   176 B0 208 D0 239 F0
145 91 ' 177 B1 209 D1 240 F1
146 92 ' 178 B2 210 D2 241 F2 ±
147 93 " 179 B3 211 D3 242 F3
148 94 " 180 B4 212 D4 243 F4
149 95 181 B5 213 D5 244 F5
150 96 û 182 B6 214 D6 245 F6
151 97 ù 183 B7 215 D7 246 F7 ÷
152 98 ÿ 184 B8 216 D8 247 F8
153 99 Ö 185 B9 217 D9 248 F9 °
154 9A Ü 186 BA 218 DA 249 FA
155 9B ¢ 187 BB ¢¢ 219 DB 250 FB ·
156 9C £ 188 BC 220 DC 251 FC
157 9D   189 BD 221 DD 252 FD
158 9E 190 BE 222 DE 253 FE ²
159 9F ƒ 191

BF

223 DF 254 FF

 Not supported on the current platform.